MapLibre Native for Android
MapLibre Native for Android
/
com.mapbox.mapboxsdk.http
/
NativeHttpRequest
Native
Http
Request
open
class
NativeHttpRequest
:
HttpResponder
Functions
Functions
cancel
Link copied to clipboard
open
fun
cancel
(
)
handle
Failure
Link copied to clipboard
open
fun
handleFailure
(
type
:
Int
,
errorMessage
:
String
)
Invoked when a resource failed to be retrieved.
on
Response
Link copied to clipboard
open
fun
onResponse
(
responseCode
:
Int
,
etag
:
String
,
lastModified
:
String
,
cacheControl
:
String
,
expires
:
String
,
retryAfter
:
String
,
xRateLimitReset
:
String
,
body
:
Array
<
Byte
>
)
Invoked when a resource has finished.